package com.entity;

/**
 * 购买记录实体类
 */
public class purchase_record {
  /**
   * 记录自增id
   */
  private int pid;
  /**
   * 产品外键id
   */
  private int spid;
  /**
   * 商品标题
   */
  private String pname;
  /**
   * 数量
   */
  private int pcount;

  public int getPid() {
    return pid;
  }

  public void setPid(int pid) {
    this.pid = pid;
  }

  public int getSpid() {
    return spid;
  }

  public void setSpid(int spid) {
    this.spid = spid;
  }

  public String getPname() {
    return pname;
  }

  public void setPname(String pname) {
    this.pname = pname;
  }

  public int getPcount() {
    return pcount;
  }

  public void setPcount(int pcount) {
    this.pcount = pcount;
  }

  public String getPathPic() {
    return pathPic;
  }

  public void setPathPic(String pathPic) {
    this.pathPic = pathPic;
  }

  /**
   * 商品图片路径
   */
  private String pathPic;
}
